cmake_minimum_required(VERSION 3.5.1)

add_library( bare_intersection_unprotected_scenario
                                    bare_intersection_unprotected_scenario.cc
                                    stage_approach.cc
                                    stage_intersection_cruise.cc
                                    )


target_link_libraries( bare_intersection_unprotected_scenario

Eigen3::Eigen
common
cyber::log
common::util
planning_common_lib
planning_proto
common::util
common::factory
scenario
stage_intersection_cruise_impl
creep_decider
)

install(TARGETS bare_intersection_unprotected_scenario
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )